package com.jxl.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 成长伴旅计划表
 * </p>
 *
 * @author 金小梁
 * @since 2025-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("growth_plan")
@ApiModel(value="GrowthPlan对象", description="成长伴旅计划表")
public class GrowthPlan implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "计划唯一标识")
    @TableId(value = "plan_id", type = IdType.AUTO)
    private Integer planId;

    @ApiModelProperty(value = "用户ID（外键关联用户表）")
    private Integer userId;

    @ApiModelProperty(value = "计划类型")
    private String planType;

    @ApiModelProperty(value = "计划开始日期")
    private LocalDate startDate;

    @ApiModelProperty(value = "计划结束日期")
    private LocalDate endDate;

    @ApiModelProperty(value = "计划内容（JSON格式，21天具体行动计划）")
    private String planContent;


}
